package org.chayu.adminsystem.service;

import org.chayu.adminsystem.dao.RightMapper;
import org.chayu.adminsystem.pojo.Right;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RightServiceImpl implements RightService{
    @Autowired
    private RightMapper rightMapper;

    @Override
    public List<Right> getRightList() {
        return rightMapper.getRightList();
    }
}
